What's the correct way to use createContext in React with TypeScript